//
//  LRSQLiteManager.swift
//  SQLite使用
//
//  Created by 雷路荣 on 16/1/2.
//  Copyright © 2016年 leilurong. All rights reserved.
//

import UIKit

class LRSQLiteManager: NSObject {
    
    static let sharedManager = LRSQLiteManager()
    
    private override init() {
        super.init()
    }
    
    func openDB(dbName: String) {
        let sandboxPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true).last
        
        let path = (sandboxPath! as NSString).stringByAppendingPathComponent(dbName)
        
        sqlite3_open
        
    }

}
